package com.learning.seata.demo.service;

import com.learning.seata.demo.model.Order;
/**
 * ClassName: OrderService
 * Description: 订单服务：根据采购需求创建订单。
 * Date: 2021/3/12 13:56 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public interface OrderService {

    /**
     * 创建订单
     */
    Order create(String userId, String commodityCode, int orderCount);
}